//
//  NetWorkManager.h
//  JZRJAPPT
//
//  Created by mac on 16/5/9.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
typedef void(^successBlock)(id data);

typedef void(^failBlock)(id error);

@interface NetWorkManager : NSObject

+ (void)getUrl:(NSString*)url paramdic:(NSDictionary*)param success:(void(^)(id data)) success error:(void(^)(id error)) fail;
+ (void)getUrl1:(NSString *)url paramdic:(NSDictionary *)param success:(void (^)(id))success error:(void (^)(id))fail;
+ (void)postUrl:(NSString *)url paramdic:(NSDictionary *)param success:(void (^)(id))success error:(void (^)(id))fail;
@end
